/* 路由规则三引入 */
/* 11111 */
import VueRouter from 'vue-router'

/* 22222 */
import HomeContairer from './componets/tabbar/HomeContairer.vue'
import MemberContairer from './componets/tabbar/MemberContairer.vue'
import ShopcarContairer from './componets/tabbar/ShopcarContairer.vue'
import SerachContairerxx from './componets/tabbar/SerachContairer.vue'
import newslist from './componets/news/newslist.vue'
import photolist from './componets/photos/photolist.vue'
import goodslist from './componets/goods/goodsList.vue'

const router = new VueRouter({
    routes: [
        {
            path:'/',
            redirect:'/home'
        },

        {
            path: '/home',
            component: HomeContairer
        },
        {
            path: '/member',
            component: MemberContairer
        },
        {
            path: '/shopcar',
            component: ShopcarContairer
        },
        {
            path: '/serach',
            component: SerachContairerxx
        },
        {
            path:'/home/NewList',
            component:newslist
        },
        {
            path:'/home/photolist',
            component:photolist
        },
        {
            path:'/home/goodslist',
            component:goodslist
        }
    ],
    linkActiveClass: 'mui-active'
})

/* 33333 */
export default router